package top.wettis.chat.service.impl;

import top.wettis.chat.pojo.DO.Resume;
import top.wettis.chat.mapper.ResumeMapper;
import top.wettis.chat.pojo.VO.Result;
import top.wettis.chat.service.IResumeService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 * 个人简历 服务实现类
 * </p>
 *
 * @author wettis
 * @since 2023-04-14
 */
@Service
public class ResumeServiceImpl extends ServiceImpl<ResumeMapper, Resume> implements IResumeService {

    public Result<Object> selectAll() {
        List<Resume> resumeList =getBaseMapper().selectList(null);
        return Result.customInfo(200,"显示成功",resumeList);
    }
}
